﻿using System.Data;

namespace DAL
{
    public interface IDb
    {
        DataTable ExecuteSelectCommand(IDbCommand command);

        DataTable ExecuteSelectCommand(string selectStatement);

        DataTable ExecuteSelectCommand(string selectStatement, string[,] parameters);

        //public string ExecuteScalar(DbCommand command);

        //public string ExecuteScalar(string selectStatement);
    }
}
